<?php

class ErrorController extends \Yaf\Controller_Abstract
{

    public function errorAction($exception)
    {
//        var_dump($exception);die;
        var_dump($exception->getMessage());
    }
}